From: emellor@ewan Date: Tue, 4 Oct 2005 14:57:12 +0000 (+0100) Subject: Fix xm restore broken by missing return statement. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16763^2~49 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=a4986d8ff86cfbb82fb5f7c9578087155db575fb;p=xen.git Fix xm restore broken by missing return statement. Signed-off-by: Ewan Mellor --- diff --git a/tools/python/xen/xend/XendDomain.py b/tools/python/xen/xend/XendDomain.py index 69a9917b1f..c18c0f61cb 100644 --- a/tools/python/xen/xend/XendDomain.py +++ b/tools/python/xen/xend/XendDomain.py @@ -248,7 +248,7 @@ class XendDomain: """Restore a domain from the given file descriptor.""" try: - XendCheckpoint.restore(self, fd) + return XendCheckpoint.restore(self, fd) except Exception, ex: log.exception("Restore failed") raise